
<!-- 慕课作业、考试 编辑器  支持录音 -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" /><!--
<style type="text/css" media="screen">
#ie_historyFrame {
	width: 0px;
	height: 0px;
	display: none
}

#firefox_anchorDiv {
	width: 0px;
	height: 0px;
	display: none
}

#safari_formDiv {
	width: 0px;
	height: 0px;
	display: none
}

#safari_rememberDiv {
	width: 0px;
	height: 0px;
	display: none
}

* {
	margin: 0;
	padding: 0;
}

html, body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	overflow: auto;
	text-align: center;
	background-color: #ffffff;
	line-height: 100%;
}

object:focus {
	outline: none;
}

#tips {
	color: red;
	width: 100%;
	font-size: 14px;
	height: 20px;
	line-height: 20px;
}

#flashContent {
	display: none;
}
</style> 
<script type="text/javascript" src="/static/js/domain.js?v=20141027"></script>
<script type="text/javascript" src="history/history.js?v=20141027"></script>
<script type="text/javascript" src="/ananas/ueditor/dialogs/internal.js?v=20141027"></script>
<script type="text/javascript" src="/js/editor20150812/dialogs/internal.js?v=20141027"></script>
<script type="text/javascript" src="/ananas/swfobject/swfobject.js"></script>
<script type="text/javascript" src="/ananas/ext/import-all-classes.js?v=2018-0111-1508"></script>
<script type="text/javascript" src="/ananas/tk"></script> 
<script type="text/javascript">
	function closepanel() {
		dialog.close();
	}

	function tips(s) {
		var tip = document.getElementById('tips');
		tip.innerHTML = s;
	}

	function success(result) {
		var resultArray = result.split(",");
		if (resultArray.size < 2) {
			tips('上传失败！');
			return;
		}
		var name = resultArray[0].split(":")[1];
		var url = resultArray[1].split(":")[1];
		var state = resultArray[2].split(":")[1];
		if (state != 'SUCCESS') {
			tips('上传失败！');
			return;
		}
		var objectId = url.split("=")[1];
		var str = '<p><iframe  data="'
				+ objectId
				+ '"  height="62px" width="auto" frameborder="0"  allowtransparency="true" '
				+ ' style="background-color:transparent;border-radius: 3px;overflow: hidden;z-index: 0;" scrolling="no" '
				+ ' src="/module/audioplay.html?objectid=' + objectId
				+ '" name="' + name
				+ '" class="ans-insertaudio-module" module="insertaudio">'
				+ ' </iframe></p>';
		editor = dialog.editor;
		editor.body && editor.body.focus();
		editor.execCommand("insertHTML", str);
		dialog.close();
	}

	function failure(s) {
		tips('上传失败！');
		console && console.log('录音：', s);
	}

	function fileSize(size) {
		var i = Math.floor(Math.log(size) / Math.log(1024));
		return (size / Math.pow(1024, i)).toFixed(2) * 1 + ' '
				+ [ 'B', 'KB', 'MB', 'GB', 'TB' ][i];
	}

	function getcookie(objname) {
		var arrstr = document.cookie.split("; ");
		for (var i = 0; i < arrstr.length; i++) {
			var temp = arrstr[i].split("=");
			if (temp[0] == objname) {
				return unescape(temp[1]);
			}
		}
	}

	var upLoadUrl = "/ueditorupload/attachment?uid=" + getcookie("_uid");
	window.onload = function() {
		var swfVersionStr = "11.1.0";
		var xiSwfUrlStr = "playerProductInstall.swf";
		var flashvars = {
			url : upLoadUrl,
			file : 'upfile',
			token : tk,
			d : '/Upload-Files/'
		};
		var params = {};
		params.quality = "high";
		params.bgcolor = "#ffffff";
		params.allowscriptaccess = "always";
		params.allowfullscreen = "true";
		var attributes = {};
		attributes.id = "Recoder";
		attributes.name = "Recoder";
		attributes.align = "middle";
		swfobject.embedSWF("Recoder.swf", "flashContent", "400", "265",
				swfVersionStr, xiSwfUrlStr, flashvars, params, attributes);
		swfobject.createCSS("#flashContent", "display:block;text-align:left;");
	};
</script>-->
</head>
<body>
	<!-- <div id="tips"></div>
	<div id="flashContent">
		<p>当您看到这个页面的时候，说明您尚未安装flsah，或者版本过低，请更新到11.0以后的版本后重试！</p>
		<script type="text/javascript">
			var pageHost = ((document.location.protocol == "https:") ? "https://"
					: "http://");
			document
					.write("<a href='http://www.adobe.com/go/getflashplayer'><img src='" 
                             + pageHost + "www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player' /></a>");
		</script>
	</div>
	<noscript>
		<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
			width="400" height="265" id="Recoder">
			<param name="movie" value="Recoder.swf"></param>
			<param name="quality" value="high"></param>
			<param name="bgcolor" value="#ffffff"></param>
			<param name="allowScriptAccess" value="sameDomain"></param>
			<param name="allowFullScreen" value="true"></param>
			[if !IE]>
			<object type="application/x-shockwave-flash" data="Recoder.swf"
				width="400" height="265">
				<param name="quality" value="high"></param>
				<param name="bgcolor" value="#ffffff"></param>
				<param name="allowScriptAccess" value="sameDomain"></param>
				<param name="allowFullScreen" value="true"></param>
				<![endif]
				[if gte IE 6]>
				<p>您未安装flash，或版本过低，请安装或者升级后重试！</p>
				<![endif]
				<a href="http://www.adobe.com/go/getflashplayer"> <img
					src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
					alt="Get Adobe Flash Player" />
				</a>
				[if !IE]>
			</object>
			<![endif]
		</object>
	</noscript> -->
	AAAA
</body>
</html>